package com.jl15988.simpletools.common.annotation;

import com.jl15988.simpletools.common.constant.OperationType;

import java.lang.annotation.*;

/**
 * 操作日志注解
 *
 * @author jl15988
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {

    /**
     * 操作类型
     */
    OperationType operationType();

    /**
     * 操作标题
     */
    String title() default "";
} 